<div class="blockBox lx blue">
    <div class="label">
        <h1>咨询顾问</h1>
        <div class="curl">&nbsp;</div>
    </div>

    <?php
    $i = 0;
    foreach ($data as $value) {
        $div_class = $i == 0 ? "firstItem " : ' ';
        $i++;
        $item = node_load($value['nid']);
        $url = url('node/' . $item->nid);
        $image_path = imagecache_create_url('promoted_box', $item->field_image[0]['filepath']);
    ?>
        <div class="box <?php print $div_class; ?>">
            <a href="<?php print $url; ?>" title="<?php print $item->title; ?>"><img class="maxi" src="<?php print base_path(); ?>sites/default/files/box_pic.png" style="background:url('<?php print $image_path; ?>');" alt="<?php print $item->title; ?>"></a>
            <h2><a href="<?php print $url; ?>"><?php print $item->title . ', ' . $item->field_current_university[0][value]; ?></a></h2>
        </div>    
    <?php } ?>
</div>